package jpa.projections;

import org.springframework.beans.factory.annotation.Value;

/**
 * Created by barton on 16-5-13.
 */
public interface NoPosition {

    String getName();

    @Value("#{target.id}的名称是#{target.name}")
    String getFull();

    @Value("#{(target.name == null || target.name.empty)? null : 'over'}")
    String getValid();
}
